EPD Extension Kit for MSP430 LaunchPad
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Pervasive_Displays_small_EPD.h
Go to the documentation of this file.
1 
34 #ifndef EPAPER_H_INCLUDED
35 #define EPAPER_H_INCLUDED
36 
37 
38 #include <stdint.h>
39 #include <string.h>
40 #include <stdlib.h>
41 #include <msp430g2553.h>
42 
45 typedef void (*EPD_read_flash_handler)(long flash_address,uint8_t *target_buffer,
46  uint8_t byte_length);
47 
48 #if !defined(FALSE)
49 #define FALSE 0
50 #endif
51 
52 #if !defined(TRUE)
53 #define TRUE (1)
54 #endif
55 
56 #if !defined(NULL)
57 #define NULL (void *)0
58 #endif
59 
60 #if !defined(_NOP)
61 #define _NOP() asm("nop")
62 #endif
63 
64 #if !defined(bool)
65 #define bool uint8_t
66 #endif
67 
68 
69 extern void delay_ms(unsigned int ms);
70 
71 #define LINE_SIZE 64
75 enum EPD_SIZE {
76  EPD_144,
77  EPD_200,
78  EPD_270
79 };
80 #include "conf_EPD.h"
81 #include "EPD_hardware_gpio.h"
82 #include "EPD_hardware_driver.h"
83 #include "EPD_COG_process.h"
84 #include "EPD_controller.h"
85 
86 #endif //EPAPER_H_INCLUDED
87 
88 
89